package com.ruoyi.edu.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学校信息对象 edu_school
 *
 * @author ruoyi
 * @date 2024-06-29
 */
public class EduSchool extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 唯一ID
     */
    private Long schoolId;

    /**
     * 学校名称
     */
    @Excel(name = "学校名称")
    private String name;

    /**
     * 位置
     */
    @Excel(name = "位置")
    private String location;

    /**
     * 归属市区
     */
    @Excel(name = "归属市区")
    private Long belongArea;

    /**
     * 1-公立，2-私立
     */
    @Excel(name = "1-公立，2-私立")
    private Long schoolType;

    /**
     * 0-普通，1-区重点，2-市重点
     */
    @Excel(name = "0-普通，1-区重点，2-市重点")
    private Long importantType;

    /**
     * 0-幼儿园，1-小学，2-初中，3-高中
     */
    @Excel(name = "0-幼儿园，1-小学，2-初中，3-高中")
    private Long schoolLevel;

    /**
     * 官网
     */
    @Excel(name = "官网")
    private String website;

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }

    public Long getSchoolId() {
        return schoolId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getLocation() {
        return location;
    }

    public void setBelongArea(Long belongArea) {
        this.belongArea = belongArea;
    }

    public Long getBelongArea() {
        return belongArea;
    }

    public void setSchoolType(Long schoolType) {
        this.schoolType = schoolType;
    }

    public Long getSchoolType() {
        return schoolType;
    }

    public void setImportantType(Long importantType) {
        this.importantType = importantType;
    }

    public Long getImportantType() {
        return importantType;
    }

    public void setSchoolLevel(Long schoolLevel) {
        this.schoolLevel = schoolLevel;
    }

    public Long getSchoolLevel() {
        return schoolLevel;
    }

    public void setWebsite(String website) {
        this.website = website;
    }

    public String getWebsite() {
        return website;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("schoolId", getSchoolId())
                .append("name", getName())
                .append("location", getLocation())
                .append("belongArea", getBelongArea())
                .append("schoolType", getSchoolType())
                .append("importantType", getImportantType())
                .append("schoolLevel", getSchoolLevel())
                .append("remark", getRemark())
                .append("website", getWebsite())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
